<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <title>弓友之家</title>
    <link rel="stylesheet" href="css/mui.css" />
    <link rel="stylesheet" href="fonts/iconfont.css" />
    <link rel="stylesheet" href="css/style.css" />
</head>
<body>
	<header class="mui-bar mui-bar-nav">
		<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
		<h1 class="mui-title">合作单位</h1>
		<!--<a class="mui-icon mui-icon-more-filled mui-pull-right shareBtn"></a>-->
	</header>
	<div class="mui-content">
		<ul class="mui-table-view mui-grid-view partner">
	    </ul>    
	</div>
	<!--分享-->
	<div class="shareWx mui-hidden"> 
		<ul class="mui-list-unstyled">
			<li class="tel"><a href="javascript:void(0)" onclick="shareWeixinMessage(1)">微信好友</a></li>
			<li class="qq"><a href="javascript:void(0)" onclick="shareWeixinMessage(2)">朋友圈</a></li>
		</ul>
		<button type="button" class="cancleShare">取消</button>
	</div>
	<script type="text/javascript" src="js/mui.min.js" ></script>
	<script type="text/javascript" src="js/jquery-1.8.3.min.js" ></script>
	<script type="text/javascript" src="js/common.js" ></script>
	<script type="text/javascript" charset="utf-8">
      	mui.ajax(H_SRC+'/amier/index/partner',{
			data:{
				token:token
			},
			dataType:'json',
			type:'post',
			timeout:10000,             
			success:function(data){
				var dataurl=data.data;
				if(data.code == 1){
					var html="";
					for(var i=0;i<dataurl.length;i++){
						html+='<li class="mui-table-view-cell mui-media mui-col-xs-6"><a href="javascript:void(0)">';
		                html+='<img class="mui-media-object" src="'+H_SRC+''+dataurl[i].img+'">';
		                html+='<div class="mui-media-body"><h4 class="mui-ellipsis">'+dataurl[i].name+'</h4><p>'+dataurl[i].message+'</p></div>';
		            	html+='</a> </li>';
					}
					$(".partner").html(html);
				}else{
					mui.toast(data.msg);
				}
			},
			error:function(){
				
			}
		}) 
    </script>
</body>
</html>